<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form id="edituserForm" enctype="multipart/form-data" method="post">
	<div class="easyui-panel" style="width: 100%; border: none; margin-top: 20px; overflow: hidden;">
		
			<input type="hidden" name="id" id="userid" value="${user.id}">
			<div style="float:left;height:190px;width:20%;">
				<c:if test="${empty user.images}">
						<img src="public/images/mo.jpg"  title="${user.name}"style="border-radius:100px;width:100px;height:100px;margin:40px 10px 0px 30px"/>
				</c:if>
				<c:if test="${not empty  user.images}">
						<img src="public/images/${user.images.path}"  title="${user.name}" style="border-radius:100px;width:100px;height:100px;margin:40px 10px 0px 30px"/>
				</c:if>
				
			</div>
			<div style="float:left;height:190px;width:70%;margin-left:20px">
				<div style="width: 100%;" class="form-item">
					<label for="empname">用户</label> 
					<input  id="account" data-options="readonly:true"  style="width: 180px;" name="account" class="easyui-textbox"  value="${user.account}" />
				</div>
				
				<div style="width: 100%;" class="form-item">
					<label>昵称</label> 
					<input  id="name" data-options="required:true,validType:'length[1,12]'"  style="width: 180px;" name="name" class="easyui-textbox"  value="${user.name}" />
				</div>
				<div style="width: 100%;" class="form-item">
					<label>头像</label>
					<input accept="image/jpeg,image/jpg, image/png"   style="width: 180px;" data-options="required:false,prompt:'选择文件'" class="easyui-filebox" name="file" />
				</div>
			</div>
		

	</div>
</form>